<script type='text/javascript'>
    var data = {{{ chartParams }}},
      chartType = "{{{ chartType }}}",
      myChart = new xChart(chartType, data, '#{{{ chartId }}}');
</script>
<style>figure.rChart {height: 400px;}</style>